package com.orange.factoryPatterns.factory;

import com.orange.factoryPatterns.config.ShapeConfig;
import com.orange.factoryPatterns.pojo.Shape;
import com.orange.factoryPatterns.pojo.Squere;

public class SqureFactory{

    public Squere getSquere(ShapeConfig config){
        Squere squere = new Squere();
        //利用config进行配置
        //.....
        //.....
        return squere;
    }
}
